package cn.ljx.service;

import java.util.List;

import cn.ljx.entity.TBHandle;
import cn.ljx.entity.TBUser;

public interface TBHandleService {

	//获得用户信息
	public TBHandle getHandleByName(String username);

	//获得用户列表
	List<TBHandle> gettbHandleList(String real_name); 
	/**
	 * 删除用户
	 */
	int delectHandle(String login_name);
	
	/*
	 * 添加用户
	 */
	int addHandle(TBHandle tbhandle);
	
	//通过用户ID查找用户
	TBHandle getHandleById(String id);
	
	//修改用户信息
	int updateHandle(TBHandle tbhandle);

	TBHandle checkLogin(String username, String password);
}
